package com.example.account.service;

import com.baomidou.mybatisplus.service.IService;
import com.example.account.entity.TAccount;
import com.example.common.dto.AccountDTO;
import com.example.common.response.ObjectResponse;

/**
 * 服务类
 */
public interface ITAccountService extends IService<TAccount> {

    /**
     * 扣用户钱
     */
    ObjectResponse<Object> decreaseAccount(AccountDTO accountDTO);

    void testGlobalLock();
}
